package cn.com.b2office.domain;

import java.io.Serializable;

/**
 * 
 * @author wangtao.upc@gmail.com
 * @hibernate.class table="article_type" lazy="false"
 * @hibernate.cache usage="transactional"
 */
public class ArticleCategory implements Serializable {

	private static final long serialVersionUID = 5895691469694127507L;

	private int categoryId = 0;

	private String name = null;

	private int sortwt = 0;

	/**
	 * @return return the cateogryId
	 * @hibernate.id column="idno" generator-class="assigned"
	 */
	public int getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(int categoryId) {
		this.categoryId = categoryId;
	}

	/**
	 * 
	 * @return name
	 * @hibernate.property column="cname" type="java.lang.String"
	 */
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	/**
	 * 
	 * @return sortwt
	 * @hibernate.property column="sort_wt" type="java.lang.Integer"
	 */
	public int getSortwt() {
		return sortwt;
	}

	public void setSortwt(int sortwt) {
		this.sortwt = sortwt;
	}

}
